package com.tdu.cn.beans;

import java.beans.Beans;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class text_Bean1 {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext("com.tdu.cn");
        Object bean = context.getBean(Bean1.class);
        System.out.println(bean);
    }
}
